package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ConsumerApplication
 * @author jingjing.zhang
 */
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement
@MapperScan("org.example.dao")
public class ConsumerApplication {
    public static void main( String[] args ) { SpringApplication.run(ConsumerApplication.class,args); }
}
